package org.inspursc.s0517.health.common.dao;

import org.inspursc.s0517.health.common.entity.SysUser;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;


public interface SysUserDao extends JpaRepository<SysUser, Integer> {
    SysUser findByUsername(String username);

    Page<SysUser> findByUsernameLike(String username, Pageable pageable);
}
